<?php
/**
 * Created by PhpStorm.
 * User: dung
 * Date: 11/11/14
 * Time: 10:56 AM
 */

class Favourite extends Eloquent
{

    public function favouriteable()
    {
        return $this->morphTo();
    }

    public function author()
    {
        return $this->belongsTo('User');
    }
} 